package com.example.entity.delay;

import lombok.Data;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author ChenXiaoBin
 * on 2019-08-02
 */
@Data
public class CallCdr implements Serializable {
    private String name;
    private int age;
    private String wife;
    private Double salary;
    private String putTime;


    public void setPutTime() {
        this.putTime = new SimpleDateFormat("hh:mm:ss").format(new Date());
    }
}
